﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using LybrixNursingCommon;

namespace LybrixNursingCRMDesktop
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public static Frame lybrixMainframe;
        public MainWindow()
        {
            InitializeComponent();
            lybrixMainframe = MainFrame;
      }




        private void agents_Click(object sender, RoutedEventArgs e)
        {
            agents agentsList = new agents();
            MainFrame.Content = agentsList;
        }

        private void NewProspects_Click(object sender, RoutedEventArgs e)
        {
            ProspectPage newProspectPage = new ProspectPage();
            MainFrame.Content = newProspectPage;
        }

        private void Newagents_Click(object sender, RoutedEventArgs e)
        {
            DetailAgent newAgent = new DetailAgent();
            MainFrame.Content = newAgent;
        }

        private void previouse_Click(object sender, RoutedEventArgs e)
        {

        }

        private void next_Click(object sender, RoutedEventArgs e)
        {

        }


     

    }
}
